using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Diagnostics;

namespace iGrabber
{
    public partial class frmDialog : Form
    {
        public frmDialog()
        {
            InitializeComponent();
        }

        public void DisplayArt(string URL)
        {
            pctImage.Load(URL);
            this.Size = new Size(pctImage.Size.Width + 6, pctImage.Size.Height + 24);
            this.StartPosition = FormStartPosition.CenterScreen;
        }

        private void pctImage_Click(object sender, EventArgs e)
        {
            this.Close();
        }
    }
}